using System;
using System.Collections.Generic;
using System.Linq;
using DomainModel.Entities;

namespace Service.Abstract
{
    public interface ITaskService : IBaseService<Task>
    {
        IQueryable<Task> GetTasksByProject(User user, int projectId);
        IEnumerable<Task> GetTasksByDate(User user, int dateSpan1, int dateSpan2);
        Task GetTaskById(int taskId);
    }
}